//
//  MailTableViewCell.m
//  SP2P
//
//  Created by 吴建东 on 16/6/21.
//  Copyright © 2016年 EIMS. All rights reserved.
//

#import "MailTableViewCell.h"

@implementation MailTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        _unreadNumLabel = [UILabel labelWithFrame:RECTMAKE(MSWIDTH - 30 - KAdaptNum(20), KAdaptNum(15), KAdaptNum(20), KAdaptNum(20)) text:@"" textColor:[UIColor whiteColor] textFont:15 fitWidth:NO superview:self.contentView];
        _unreadNumLabel.backgroundColor = KColor;
        _unreadNumLabel.clipsToBounds = YES;
        _unreadNumLabel.layer.cornerRadius = KAdaptNum(10);
        _unreadNumLabel.textAlignment = NSTextAlignmentCenter;
    }
    
    return self;
}

- (void)awakeFromNib {
    // Initialization code
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
